added samples
[windows-sources.git] / sdk / samples / all in on code / Visual Studio 2010 / CSWF4ActivitiesCorrelation / Workflow1.xaml
blob363c1aa8b65f01b8f3ce4b79f32960ce7d1d18a8
1 <Activity mc:Ignorable="sap" x:Class="CSWF4ActivitiesCorrelation.Workflow1" sap:VirtualizedContainerService.HintSize="654,676" mva:VisualBasic.Settings="Assembly references and imported namespaces for internal implementation" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:av="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mv="clr-namespace:Microsoft.VisualBasic;assembly=System" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:p="http://schemas.microsoft.com/netfx/2009/xaml/servicemodel" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:s1="clr-namespace:System;assembly=System" xmlns:s2="clr-namespace:System;assembly=System.Xml" xmlns:s3="clr-namespace:System;assembly=System.Core" xmlns:sa="clr-namespace:System.Activities;assembly=System.Activities" xmlns:sad="clr-namespace:System.Activities.Debugger;assembly=System.Activities" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=System" xmlns:scg1="clr-namespace:System.Collections.Generic;assembly=System.ServiceModel" xmlns:scg2="clr-namespace:System.Collections.Generic;assembly=System.Core" xmlns:scg3="clr-namespace:System.Collections.Generic;assembly=mscorlib" xmlns:sd="clr-namespace:System.Data;assembly=System.Data" xmlns:sl="clr-namespace:System.Linq;assembly=System.Core" xmlns:ssa="clr-namespace:System.ServiceModel.Activities;assembly=System.ServiceModel.Activities" xmlns:ssx="clr-namespace:System.ServiceModel.XamlIntegration;assembly=System.ServiceModel" xmlns:st="clr-namespace:System.Text;assembly=mscorlib" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
2   <Flowchart sad:XamlDebuggerXmlReader.FileName="C:\ShareWorkflowFolder\MicrosoftSolutions\OneCode\CSWF4ActivitiesCorrelation\CSWF4ActivitiesCorrelation\Workflow1.xaml" sap:VirtualizedContainerService.HintSize="614,636">
3     <Flowchart.Variables>
4       <Variable x:TypeArguments="p:CorrelationHandle" Name="correlationHandle" />
5     </Flowchart.Variables>
6     <sap:WorkflowViewStateService.ViewState>
7       <scg3:Dictionary x:TypeArguments="x:String, x:Object">
8         <x:Boolean x:Key="IsExpanded">False</x:Boolean>
9         <av:Point x:Key="ShapeLocation">270,2.5</av:Point>
10         <av:Size x:Key="ShapeSize">60,75</av:Size>
11         <av:PointCollection x:Key="ConnectorLocation">300,77.5 300,95</av:PointCollection>
12       </scg3:Dictionary>
13     </sap:WorkflowViewStateService.ViewState>
14     <Flowchart.StartNode>
15       <x:Reference>__ReferenceID3</x:Reference>
16     </Flowchart.StartNode>
17     <FlowStep x:Name="__ReferenceID3">
18       <sap:WorkflowViewStateService.ViewState>
19         <scg3:Dictionary x:TypeArguments="x:String, x:Object">
20           <av:Point x:Key="ShapeLocation">172.5,95</av:Point>
21           <av:Size x:Key="ShapeSize">255,90</av:Size>
22           <av:PointCollection x:Key="ConnectorLocation">300,185 300,199.5</av:PointCollection>
23         </scg3:Dictionary>
24       </sap:WorkflowViewStateService.ViewState>
25       <p:Receive CanCreateInstance="True" CorrelatesWith="[correlationHandle]" sap:VirtualizedContainerService.HintSize="255,90" OperationName="StartWF" ServiceContractName="IService">
26         <p:Receive.CorrelatesOn>
27           <p:XPathMessageQuery x:Key="key1">
28             <p:XPathMessageQuery.Namespaces>
29               <ssx:XPathMessageContextMarkup>
30                 <x:String x:Key="xgSc">http://tempuri.org/</x:String>
31               </ssx:XPathMessageContextMarkup>
32             </p:XPathMessageQuery.Namespaces>sm:body()/xgSc:StartWF/xgSc:dataIn</p:XPathMessageQuery>
33         </p:Receive.CorrelatesOn>
34         <p:ReceiveParametersContent>
35           <OutArgument x:TypeArguments="x:String" x:Key="dataIn" />
36         </p:ReceiveParametersContent>
37       </p:Receive>
38       <FlowStep.Next>
39         <FlowStep x:Name="__ReferenceID0">
40           <sap:WorkflowViewStateService.ViewState>
41             <scg3:Dictionary x:TypeArguments="x:String, x:Object">
42               <av:Point x:Key="ShapeLocation">194.5,199.5</av:Point>
43               <av:Size x:Key="ShapeSize">211,61</av:Size>
44               <av:PointCollection x:Key="ConnectorLocation">300,260.5 300,275</av:PointCollection>
45             </scg3:Dictionary>
46           </sap:WorkflowViewStateService.ViewState>
47           <WriteLine sap:VirtualizedContainerService.HintSize="211,61" Text="Hello" />
48           <FlowStep.Next>
49             <FlowStep x:Name="__ReferenceID1">
50               <sap:WorkflowViewStateService.ViewState>
51                 <scg3:Dictionary x:TypeArguments="x:String, x:Object">
52                   <av:Point x:Key="ShapeLocation">172.5,275</av:Point>
53                   <av:Size x:Key="ShapeSize">255,90</av:Size>
54                   <av:PointCollection x:Key="ConnectorLocation">300,365 300,379.5</av:PointCollection>
55                 </scg3:Dictionary>
56               </sap:WorkflowViewStateService.ViewState>
57               <p:Receive CorrelatesWith="[correlationHandle]" sap:VirtualizedContainerService.HintSize="255,90" OperationName="ResumeWorkflow" ServiceContractName="IService">
58                 <p:Receive.CorrelatesOn>
59                   <p:XPathMessageQuery x:Key="key1">
60                     <p:XPathMessageQuery.Namespaces>
61                       <ssx:XPathMessageContextMarkup>
62                         <x:String x:Key="xgSc">http://tempuri.org/</x:String>
63                       </ssx:XPathMessageContextMarkup>
64                     </p:XPathMessageQuery.Namespaces>sm:body()/xgSc:ResumeWorkflow/xgSc:dataIn</p:XPathMessageQuery>
65                 </p:Receive.CorrelatesOn>
66                 <p:ReceiveParametersContent>
67                   <OutArgument x:TypeArguments="x:String" x:Key="dataIn" />
68                 </p:ReceiveParametersContent>
69               </p:Receive>
70               <FlowStep.Next>
71                 <FlowStep x:Name="__ReferenceID2">
72                   <sap:WorkflowViewStateService.ViewState>
73                     <scg3:Dictionary x:TypeArguments="x:String, x:Object">
74                       <av:Point x:Key="ShapeLocation">194.5,379.5</av:Point>
75                       <av:Size x:Key="ShapeSize">211,61</av:Size>
76                     </scg3:Dictionary>
77                   </sap:WorkflowViewStateService.ViewState>
78                   <WriteLine sap:VirtualizedContainerService.HintSize="211,61" Text="Workflow" />
79                 </FlowStep>
80               </FlowStep.Next>
81             </FlowStep>
82           </FlowStep.Next>
83         </FlowStep>
84       </FlowStep.Next>
85     </FlowStep>
86     <x:Reference>__ReferenceID0</x:Reference>
87     <x:Reference>__ReferenceID1</x:Reference>
88     <x:Reference>__ReferenceID2</x:Reference>
89   </Flowchart>
90 </Activity>